package com.hy.erp.inventory.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Index ;
/*import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
*/
import com.hy.erp.inventory.dao.interfaces.IDefineDepotReasonDao;
import com.hy.erp.inventory.pojo.interfaces.IBillType;
import com.hy.erp.inventory.pojo.interfaces.IDefineDepotReason;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;

/**
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-10-5；时间：下午21:37:20</li>
 * <li>字段类型：long；字段名称：serialVersionUID</li>
 * <li>设计目的：定义仓库原因</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
/*@Entity
@Name("defineDepotReason")
@Scope(ScopeType.SESSION)
@Table(name="defineDepotReason")
@ DaoA ( IDefineDepotReasonDao.class )*/
public class DefineDepotReason extends MyBaseModel{ //implements IPositonType
//public class DefineDepotReason extends AbstractPersistentEntity implements IDefineDepotReason{

	private static final long serialVersionUID = 3264043428750729303L;
	
	
	
	
	/**
	 * 构造函数
	 */
	public DefineDepotReason(){}

	public DefineDepotReason( String reason) {
		super();
		
	}
	//#######################################################################

	
	@Column(name="reason",unique=false,nullable=false,insertable=true,updatable=true)
	public String getReason() {
		return this.get(IDefineDepotReason.REASON) ;
	}

	
	//#######################################################################
	

	
	public void setReason(String reason) {
		super.set (IDefineDepotReason.REASON , reason );
	}
	
	
	@ Column ( name = "description" , length = 200 )
	@ Index ( name = "descriptionIndex" )
	public String getDescription ( )
	{
		return this.get(IDefineDepotReason.DESCRIPTION) ;
	}

	public void setDescription (
									String description )
	{
		super.set (IDefineDepotReason.DESCRIPTION , description );
	}


}
